package org.xdshop.cms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.xdshop.cms.i.LeveContentService;
import org.xdshop.cms.mapper.read.ReadLeveContentMapper;
import org.xdshop.cms.pojo.LeveContent;

import java.util.List;

/**
 * Created by xiaodong on 16/7/31.
 */
@Service("leveContentService")
public class LeveContentServiceImpl implements LeveContentService{

    @Autowired
    private ReadLeveContentMapper readLeveContentMapper;
    @Override
    public List<LeveContent> findAll() {
        return readLeveContentMapper.findAll();
    }
}
